home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Report Writers / Crystal Repot 9.0 Full CD version / Setup.exe / Windows / System32 / HTMLRE90.DLL / HTML / 11688 < prev    next >
Encoding:
Text File  |  2002-07-05  |  2.0 KB  |  74 lines

  1.  
  2. <script language="Javascript">
  3.  
  4.  
  5. // All Destinations will have this function 
  6. function onDestInit()
  7. {
  8.     if (document.destForm.disk_radio[0].defaultChecked)
  9.     {
  10.         onSetDisabled(true)
  11.     }
  12.     else
  13.     {
  14.         onSetFilename();
  15.     }
  16. }
  17.  
  18. function onSetDisabled(test)
  19. {
  20.     if (test == true)
  21.     {
  22.         document.destForm.user.disabled = true; 
  23.         document.destForm.password.disabled = true; 
  24.         document.destForm.dir.disabled = true; 
  25.  
  26.         onSetFilenameDisabled( true );
  27.  
  28.         document.destForm.server_default.value = true; 
  29.     }
  30.     else 
  31.     {
  32.         document.destForm.user.disabled = false; 
  33.         document.destForm.password.disabled = false; 
  34.         document.destForm.dir.disabled = false; 
  35.  
  36.         onSetFilenameDisabled( false );
  37.  
  38.         document.destForm.server_default.value = false; 
  39.     }
  40. }
  41.  
  42. </script>
  43.  
  44. <table width='95%' cellpadding=5 cellspacing=5> 
  45.  
  46. <tr><td class='list' colspan=2> You can schedule to an unmanaged disk location (which is a relative path from the chosen Crystal Job Server) with a choice of two different sets of values: </td></tr>
  47.  
  48. <tr> 
  49.     <td class='list' colspan=2> <input type="radio" name="disk_radio" %5 onclick="javascript:onSetDisabled(true);"> Use the Crystal Job Server's defaults </td>
  50. </tr>
  51. <tr>
  52.     <td class='list' colspan=2> <input type="radio" name="disk_radio" %4 onclick="javascript:onSetDisabled(false);"> Set the values to be used at schedule time here: </td>
  53. </tr>
  54.  
  55. <tr>
  56.     <td width='30'> </td> 
  57.         <td class='list'> 
  58.         %1 
  59.         <table width='95%'>
  60.         <tr><td class='list' colspan=2> </td></tr>
  61.         <tr><td class='list' colspan=2>Logon as User:</td></tr>
  62.         <tr><td colspan=2 align=right>
  63.             <table width='95%'>
  64.             <tr><td class='list'>User Name: </td><td class='list'><input type='text' size=40 name='user' value="%2"></td></tr>
  65.             <tr><td class='list'>Password: </td><td class='list'><input type='password' size=40 name='password' value="%3"></td></tr>
  66.             </table>
  67.         </td></tr>
  68.         </table>
  69.         </td>
  70. </tr> 
  71. </table> 
  72.  
  73. <input type="hidden" name="server_default"> 
  74.